Related Vulnerabilities: CVE-2021-29921  

A security issue was found in Python before version 3.9.5. The ipaddress module accepted leading zeros in IPv4 addresses, which are ambiguous and interpreted as octal notation by some libraries.

Severity Medium

Remote Yes

Type Insufficient validation

Description

A security issue was found in Python before version 3.9.5. The ipaddress module accepted leading zeros in IPv4 addresses, which are ambiguous and interpreted as octal notation by some libraries.

AVG-1913 python 3.9.4-1 Medium Vulnerable

https://python-security.readthedocs.io/vuln/ipaddress-ipv4-leading-zeros.html
https://bugs.python.org/issue36384
https://github.com/python/cpython/pull/25099
https://github.com/python/cpython/commit/5374fbc31446364bf5f12e5ab88c5493c35eaf04